package com.enjoyor.soa.traffic.frame.logger;

import com.enjoyor.soa.traffic.frame.domain.PubLogNorm;
import com.enjoyor.soa.traffic.frame.support.mybatis.mapper.IBaseMapper;

// 20190103 日志采集规范，新增多个字段
public interface IPubLogNormMapper extends IBaseMapper<PubLogNorm> {
	/*
	 * transType: 可选填： 1.select 2.insert 3.update 4.delete 5.export
	 */
    public PubLogNorm getBaseLogInfo(String sysName,String logModular, String token,String transType);

    public void saveNoramlLogInfo(PubLogNorm log);

    public void saveNoramlLogInfo(String sysName,String logModular,String token, String transType);

    void saveLogInfo(String sysName,String moduleInfo,String token,String operateType,Object beforeObject,Object afterObject,String primyKey);
}
